home *** CD-ROM | disk | FTP | other *** search
/ Skunkware 5 / Skunkware 5.iso / src / Tools / ghostview-1.5 / Imakefile < prev    next >
Encoding:
Makefile  |  1995-05-03  |  2.6 KB  |  78 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. XCOMM  Imakefile -- Imakefile for ghostview.
  6. XCOMM  Copyright (C) 1992  Timothy O. Theisen
  7. XCOMM 
  8. XCOMM  This program is free software; you can redistribute it and/or modify
  9. XCOMM  it under the terms of the GNU General Public License as published by
  10. XCOMM  the Free Software Foundation; either version 2 of the License, or
  11. XCOMM  (at your option) any later version.
  12. XCOMM 
  13. XCOMM  This program is distributed in the hope that it will be useful,
  14. XCOMM  but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. XCOMM  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  16. XCOMM  GNU General Public License for more details.
  17. XCOMM 
  18. XCOMM  You should have received a copy of the GNU General Public License
  19. XCOMM  along with this program; if not, write to the Free Software
  20. XCOMM  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  21. XCOMM 
  22. XCOMM    Author: Tim Theisen           Systems Programmer
  23. XCOMM  Internet: tim@cs.wisc.edu       Department of Computer Sciences
  24. XCOMM      UUCP: uwvax!tim             University of Wisconsin-Madison
  25. XCOMM     Phone: (608)262-0438         1210 West Dayton Street
  26. XCOMM       FAX: (608)262-9777         Madison, WI   53706
  27.  
  28. XCOMM    MODIFIED by Tom Kelly (tom@sco.com, tom@ancilla.uucp) to
  29. XCOMM    install in different directories.
  30.  
  31. #define Use_SelFile
  32.  
  33. #ifdef Use_SelFile
  34.            SRCS = main.c misc.c callbacks.c actions.c dialogs.c \
  35.                   Ghostview.c ps.c getenv.c setenv.c strcasecmp.c \
  36.                   SelFile.c Dir.c Path.c Draw.c
  37.            OBJS = main.o misc.o callbacks.o actions.o dialogs.o \
  38.                   Ghostview.o ps.o getenv.o setenv.o strcasecmp.o \
  39.                   SelFile.o Dir.o Path.o Draw.o
  40.  SELFILE_DEFINE = -DSELFILE
  41. #else
  42.            SRCS = main.c misc.c callbacks.c actions.c dialogs.c \
  43.                   Ghostview.c ps.c getenv.c setenv.c strcasecmp.c
  44.            OBJS = main.o misc.o callbacks.o actions.o dialogs.o \
  45.                   Ghostview.o ps.o getenv.o setenv.o strcasecmp.o
  46.  SELFILE_DEFINE =
  47. #endif
  48.  
  49.  
  50.         DEPLIBS = XawClientDepLibs
  51. LOCAL_LIBRARIES = XawClientLibs
  52.   SYS_LIBRARIES = -lm
  53.  
  54. XCOMM Add -DBSD4_2 to DEFINES if you system does not have memset() and memcpy()
  55.  
  56.         DEFINES = -DNON_BLOCKING_IO $(SIGNAL_DEFINES) $(SELFILE_DEFINE)
  57.  
  58. HCRDESTDIR = /usr/skunk
  59. BINDIR = $(HCRDESTDIR)/bin
  60. MANDIR = $(HCRDESTDIR)
  61.  
  62. .NOEXPORT:
  63.  
  64. AllTarget(ghostview)
  65.  
  66. depend:: app-defaults.h
  67.  
  68. ComplexProgramTarget(ghostview)
  69. InstallAppDefaults(Ghostview)
  70.  
  71. main.o: app-defaults.h
  72.  
  73. app-defaults.h: Ghostview.ad ad2c
  74.     sh ad2c Ghostview.ad > app-defaults.h
  75.  
  76. clean::
  77.     $(RM) app-defaults.h
  78.